package top.kindaries.service;

import com.github.pagehelper.PageInfo;
import top.kindaries.model.Action;
import top.kindaries.model.User;

import java.util.List;

/**
 * Created by Administrator on 2017/8/16.
 */
public interface UserService {

    User getUserByName(String userName);

    User login(User user);

    PageInfo<User> getUser(User user);

    boolean addUser(User user);

    boolean editUser(User user);

    Boolean removeUser(Integer[] ids);

    List<Action> getActionByUserId(Integer userId);

}